package com.hongning.railway.entity.reqbean;

import com.hongning.railway.util.TimeUtils;

import java.util.List;

/**
 * Author: zhangjing
 * DATA:2019-09-05 11:45
 * DESC:
 * email:zhangjingworkmol@163.com
 */
public class ReqAssessesIntegralBean extends BaseReqBean{

    /**
     * beevaluated : [{"beevaluatedUserId":"apptest001","beevaluatedUserName":"apptest001","mutualEvaluationIntegral":"77"},{"beevaluatedUserId":"yp","beevaluatedUserName":"鹏哥","mutualEvaluationIntegral":"77"}]
     * createby : 004
     * endtime : 1567188088000
     * evaluationUserId : admin
     * evaluatedUserName : admin
     * evaluationId : 03
     * id : 3
     * remarks : 测试2
     * selfEvaluationIntegral : 0
     * status : 01
     * title : 测试2
     * type : 季度
     */

    private String createby;
    private long endtime;
    private String evaluationUserId;
    private String evaluatedUserName;
    private String evaluationId;
    private int id;
    private String remarks;
    private String selfEvaluationIntegral;
    private String status;
    private String title;
    private String type;
    private List<BeevaluatedBean> beevaluated;

    private long evaluationTime;//考核开始hi时间
    private long enddate;//考核结束时间
    private String showTime;//本地使用的展示时间

    //提交新增的
    private String evaluatedUserId;

    public String getEvaluatedUserId() {
        return evaluationUserId;
    }

    public void setEvaluatedUserId(String evaluatedUserId) {
        this.evaluatedUserId = evaluatedUserId;
    }

    public String getShowTime() {
        return "考核时间："+TimeUtils.getFormatTime(enddate)+"-"+TimeUtils.getFormatTime(evaluationTime);
    }

    public void setShowTime(String showTime) {
        this.showTime = showTime;
    }

    public long getEvaluationTime() {
        return evaluationTime;
    }

    public void setEvaluationTime(long evaluationTime) {
        this.evaluationTime = evaluationTime;
    }

    public long getEnddate() {
        return enddate;
    }

    public void setEnddate(long enddate) {
        this.enddate = enddate;
    }

    public String getCreateby() {
        return createby;
    }

    public void setCreateby(String createby) {
        this.createby = createby;
    }

    public long getEndtime() {
        return enddate;
    }

    public void setEndtime(long endtime) {
        this.endtime = endtime;
    }

    public String getEvaluationUserId() {
        return evaluationUserId;
    }

    public void setEvaluationUserId(String evaluationUserId) {
        this.evaluationUserId = evaluationUserId;
    }

    public String getEvaluatedUserName() {
        return evaluatedUserName;
    }

    public void setEvaluatedUserName(String evaluatedUserName) {
        this.evaluatedUserName = evaluatedUserName;
    }

    public String getEvaluationId() {
        return evaluationId;
    }

    public void setEvaluationId(String evaluationId) {
        this.evaluationId = evaluationId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getSelfEvaluationIntegral() {
        return selfEvaluationIntegral+"";
    }

    public void setSelfEvaluationIntegral(String selfEvaluationIntegral) {
        this.selfEvaluationIntegral = selfEvaluationIntegral;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<BeevaluatedBean> getBeevaluated() {
        return beevaluated;
    }

    public void setBeevaluated(List<BeevaluatedBean> beevaluated) {
        this.beevaluated = beevaluated;
    }

    public static class BeevaluatedBean {
        /**
         * beevaluatedUserId : apptest001
         * beevaluatedUserName : apptest001
         * mutualEvaluationIntegral : 77
         */

        private String beevaluatedUserId;
        private String beevaluatedUserName;
        private String mutualEvaluationIntegral;

        public String getBeevaluatedUserId() {
            return beevaluatedUserId;
        }

        public void setBeevaluatedUserId(String beevaluatedUserId) {
            this.beevaluatedUserId = beevaluatedUserId;
        }

        public String getBeevaluatedUserName() {
            return beevaluatedUserName;
        }

        public void setBeevaluatedUserName(String beevaluatedUserName) {
            this.beevaluatedUserName = beevaluatedUserName;
        }

        public String getMutualEvaluationIntegral() {
            return mutualEvaluationIntegral;
        }

        public void setMutualEvaluationIntegral(String mutualEvaluationIntegral) {
            this.mutualEvaluationIntegral = mutualEvaluationIntegral;
        }
    }
}
